﻿<?xml version="1.0" encoding="utf-8" ?>
<config>
  <products>
    <productNode context="//div[@id='checkarea']//div[@class='proSearchList']" />
    <productName context=".//div[@class='proListItemName']//a" />
    <productUrl context=".//div[@class='proListItemName']//a/@href" />
    <manufacturerName context=".//div[@class='proListItemName']//span[@class='proListItemSname']" />
    <price context=".//div[@class='proSearchListName']//li[@class='proListItemLowPrice']" >
      <replace>
        <filter original="&lt;/?[^>]*>" replace="" />
        <filter original="最安値" replace="" />
      </replace>
    </price>
    <thumbnailImage context="./div/a/img/@src" />
    <averageRating context=".//div[@class='proSearchListPrice']/ul[@class='proStarList']//li[@class='proSeachTxtOrangeSt']" />
    <releasedDate context=".//div[@class='proSearchListName']/ul[@class='proItemDetailCnt']/li[@class='proItemDate']" >
      <replace>
        <filter original="&lt;/?[^>]*>" replace="" />
        <filter original="^([^：]+)：" replace="" />
        <filter isEval="true" original='(?&lt;date&gt;.+)' replace='DateTime.Parse("${date}", new CultureInfo("ja-JP")).ToString()' />
      </replace>
    </releasedDate>
    <shortDescription context=".//div[@class='proSearchListName']/ul[@class='proItemDetailCnt']/li[@class='proItemDetail']" />

    <nextPage context="//div[@class='rsrPagers']/div/a[last()]/@href" />
  </products>

  <productDetail>
    <productDetailNode context="//div[@id='contents']" />
    <manufacturerName context=".//div[@class='quickInfo']/span[@class='maker']/a" />
    <manufacturerUrl context=".//div[@class='quickInfo']/span[@class='maker']/a/@href" />
    <detailDescription context=".//div[@class='subEntryBlock']//ul[1]" pattern='&lt;span\sid=\\"onoff1\\"&gt;([^&lt;]+)' />
    <shopName context=".//td[@class='offeringShopReview']/a"/>
    <shopUrl context=".//td[@class='offeringShopReview']/a/@href" />
  </productDetail>

</config>
